require 'socket'

servers = Socket.tcp_server_sockets(4481)

Socket.accept_loop(servers) do |conn|
  p conn
  conn.close
end